#!/bin/bash

BASEDIR=/opt/pms-be

cd $BASEDIR

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install -r $BASEDIR/__DEPLOY__/requirements.txt

cp ./__DEPLOY__/env.docker.py ./pms/env.py

mkdir $BASEDIR/.pms
